$OpenBSD: patch-mkspecs_features_qt_prf,v 1.3 2013/10/04 13:15:40 dcoppa Exp $
--- mkspecs/features/qt.prf.orig	Fri Jun  7 07:17:00 2013
+++ mkspecs/features/qt.prf	Fri Sep 27 10:10:55 2013
@@ -229,10 +229,10 @@ unset(_QT5_MODULES_TO_IGNORE_)
 mmx:DEFINES += QT_HAVE_MMX
 3dnow:DEFINES += QT_HAVE_3DNOW
 sse:DEFINES += QT_HAVE_SSE QT_HAVE_MMXEXT
-sse2:DEFINES += QT_HAVE_SSE2
-sse3:DEFINES += QT_HAVE_SSE3
-ssse3:DEFINES += QT_HAVE_SSSE3
-sse4_1:DEFINES += QT_HAVE_SSE4_1
-sse4_2:DEFINES += QT_HAVE_SSE4_2
+sse2:!openbsd-g++ DEFINES += QT_HAVE_SSE2
+sse3:!openbsd-g++ DEFINES += QT_HAVE_SSE3
+ssse3:!openbsd-g++ DEFINES += QT_HAVE_SSSE3
+sse4_1:!openbsd-g++ DEFINES += QT_HAVE_SSE4_1
+sse4_2:!openbsd-g++ DEFINES += QT_HAVE_SSE4_2
 avx:DEFINES += QT_HAVE_AVX
 iwmmxt:DEFINES += QT_HAVE_IWMMXT
